The Dreamweaver JavaScript API > Layout environment functions > dom.getRulerOrigin()

 

dom.getRulerOrigin()

Availability

Dreamweaver 3.0

Description

Gets the origin of the ruler.

Arguments

None.

Returns

An array of two integers. The first array item is the x coordinate of the origin, and the second array item is the y coordinate of the origin. Both values are in pixels.

Enabler

None.